package com.webproject.dao.carManager;

import java.util.List;

import com.webproject.core.Page;
import com.webproject.entity.carManager.CarPosition;
import com.webproject.entity.carManager.StopCar;
import com.webproject.entity.carManager.StopCarCost;
import com.webproject.entity.carManager.StopCarCostRelation;

public interface CarManagerDao {

	List<CarPosition> queryCarPosition(Page page);
	int queryCarPositionCount(Page page);
	void saveCarPosition(CarPosition carPosition);
	void updateCarPosition(CarPosition carPosition);
	void deleteCarPosition(CarPosition carPosition);
	
	
	List<StopCar> queryStopCars(Page page);
	int queryStopCarsCount(Page page);
	void saveStopCar(StopCar stopCar);
	void updateStopCar(StopCar stopCar);
	void deleteStopCar(StopCar stopCar);
	
	/**
	 * 停车收费信息
	 */
	public List<StopCarCost> queryStopCarCost(Page page);
	public int queryStopCarCostCount(Page page);
	public void saveStopCarCost(StopCarCost carCost);
	public void updateStopCarCost(StopCarCost carCost);
	public void deleteStopCarCost(StopCarCost carCost);
	public void saveStopCarCostRelation(StopCarCostRelation relation);
	public void deleteStopCarCostRelation(StopCarCostRelation relation);
	public void updateStopCarCostRelation(StopCarCostRelation relation);
}
